package com.desksoft.ecommerce.entity.logistics.dto;

import java.util.ArrayList;
import java.util.List;

public class ModuleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ModuleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGroupidIsNull() {
            addCriterion("GroupID is null");
            return (Criteria) this;
        }

        public Criteria andGroupidIsNotNull() {
            addCriterion("GroupID is not null");
            return (Criteria) this;
        }

        public Criteria andGroupidEqualTo(String value) {
            addCriterion("GroupID =", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotEqualTo(String value) {
            addCriterion("GroupID <>", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidGreaterThan(String value) {
            addCriterion("GroupID >", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidGreaterThanOrEqualTo(String value) {
            addCriterion("GroupID >=", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLessThan(String value) {
            addCriterion("GroupID <", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLessThanOrEqualTo(String value) {
            addCriterion("GroupID <=", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLike(String value) {
            addCriterion("GroupID like", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotLike(String value) {
            addCriterion("GroupID not like", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidIn(List<String> values) {
            addCriterion("GroupID in", values, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotIn(List<String> values) {
            addCriterion("GroupID not in", values, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidBetween(String value1, String value2) {
            addCriterion("GroupID between", value1, value2, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotBetween(String value1, String value2) {
            addCriterion("GroupID not between", value1, value2, "groupid");
            return (Criteria) this;
        }

        public Criteria andModuidIsNull() {
            addCriterion("ModuID is null");
            return (Criteria) this;
        }

        public Criteria andModuidIsNotNull() {
            addCriterion("ModuID is not null");
            return (Criteria) this;
        }

        public Criteria andModuidEqualTo(String value) {
            addCriterion("ModuID =", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidNotEqualTo(String value) {
            addCriterion("ModuID <>", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidGreaterThan(String value) {
            addCriterion("ModuID >", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidGreaterThanOrEqualTo(String value) {
            addCriterion("ModuID >=", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidLessThan(String value) {
            addCriterion("ModuID <", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidLessThanOrEqualTo(String value) {
            addCriterion("ModuID <=", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidLike(String value) {
            addCriterion("ModuID like", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidNotLike(String value) {
            addCriterion("ModuID not like", value, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidIn(List<String> values) {
            addCriterion("ModuID in", values, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidNotIn(List<String> values) {
            addCriterion("ModuID not in", values, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidBetween(String value1, String value2) {
            addCriterion("ModuID between", value1, value2, "moduid");
            return (Criteria) this;
        }

        public Criteria andModuidNotBetween(String value1, String value2) {
            addCriterion("ModuID not between", value1, value2, "moduid");
            return (Criteria) this;
        }

        public Criteria andModunameIsNull() {
            addCriterion("ModuName is null");
            return (Criteria) this;
        }

        public Criteria andModunameIsNotNull() {
            addCriterion("ModuName is not null");
            return (Criteria) this;
        }

        public Criteria andModunameEqualTo(String value) {
            addCriterion("ModuName =", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameNotEqualTo(String value) {
            addCriterion("ModuName <>", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameGreaterThan(String value) {
            addCriterion("ModuName >", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameGreaterThanOrEqualTo(String value) {
            addCriterion("ModuName >=", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameLessThan(String value) {
            addCriterion("ModuName <", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameLessThanOrEqualTo(String value) {
            addCriterion("ModuName <=", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameLike(String value) {
            addCriterion("ModuName like", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameNotLike(String value) {
            addCriterion("ModuName not like", value, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameIn(List<String> values) {
            addCriterion("ModuName in", values, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameNotIn(List<String> values) {
            addCriterion("ModuName not in", values, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameBetween(String value1, String value2) {
            addCriterion("ModuName between", value1, value2, "moduname");
            return (Criteria) this;
        }

        public Criteria andModunameNotBetween(String value1, String value2) {
            addCriterion("ModuName not between", value1, value2, "moduname");
            return (Criteria) this;
        }

        public Criteria andIsaliveIsNull() {
            addCriterion("IsAlive is null");
            return (Criteria) this;
        }

        public Criteria andIsaliveIsNotNull() {
            addCriterion("IsAlive is not null");
            return (Criteria) this;
        }

        public Criteria andIsaliveEqualTo(String value) {
            addCriterion("IsAlive =", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveNotEqualTo(String value) {
            addCriterion("IsAlive <>", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveGreaterThan(String value) {
            addCriterion("IsAlive >", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveGreaterThanOrEqualTo(String value) {
            addCriterion("IsAlive >=", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveLessThan(String value) {
            addCriterion("IsAlive <", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveLessThanOrEqualTo(String value) {
            addCriterion("IsAlive <=", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveLike(String value) {
            addCriterion("IsAlive like", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveNotLike(String value) {
            addCriterion("IsAlive not like", value, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveIn(List<String> values) {
            addCriterion("IsAlive in", values, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveNotIn(List<String> values) {
            addCriterion("IsAlive not in", values, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveBetween(String value1, String value2) {
            addCriterion("IsAlive between", value1, value2, "isalive");
            return (Criteria) this;
        }

        public Criteria andIsaliveNotBetween(String value1, String value2) {
            addCriterion("IsAlive not between", value1, value2, "isalive");
            return (Criteria) this;
        }

        public Criteria andMlevelIsNull() {
            addCriterion("MLevel is null");
            return (Criteria) this;
        }

        public Criteria andMlevelIsNotNull() {
            addCriterion("MLevel is not null");
            return (Criteria) this;
        }

        public Criteria andMlevelEqualTo(Integer value) {
            addCriterion("MLevel =", value, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelNotEqualTo(Integer value) {
            addCriterion("MLevel <>", value, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelGreaterThan(Integer value) {
            addCriterion("MLevel >", value, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("MLevel >=", value, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelLessThan(Integer value) {
            addCriterion("MLevel <", value, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelLessThanOrEqualTo(Integer value) {
            addCriterion("MLevel <=", value, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelIn(List<Integer> values) {
            addCriterion("MLevel in", values, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelNotIn(List<Integer> values) {
            addCriterion("MLevel not in", values, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelBetween(Integer value1, Integer value2) {
            addCriterion("MLevel between", value1, value2, "mlevel");
            return (Criteria) this;
        }

        public Criteria andMlevelNotBetween(Integer value1, Integer value2) {
            addCriterion("MLevel not between", value1, value2, "mlevel");
            return (Criteria) this;
        }

        public Criteria andIsdirIsNull() {
            addCriterion("IsDir is null");
            return (Criteria) this;
        }

        public Criteria andIsdirIsNotNull() {
            addCriterion("IsDir is not null");
            return (Criteria) this;
        }

        public Criteria andIsdirEqualTo(String value) {
            addCriterion("IsDir =", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirNotEqualTo(String value) {
            addCriterion("IsDir <>", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirGreaterThan(String value) {
            addCriterion("IsDir >", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirGreaterThanOrEqualTo(String value) {
            addCriterion("IsDir >=", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirLessThan(String value) {
            addCriterion("IsDir <", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirLessThanOrEqualTo(String value) {
            addCriterion("IsDir <=", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirLike(String value) {
            addCriterion("IsDir like", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirNotLike(String value) {
            addCriterion("IsDir not like", value, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirIn(List<String> values) {
            addCriterion("IsDir in", values, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirNotIn(List<String> values) {
            addCriterion("IsDir not in", values, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirBetween(String value1, String value2) {
            addCriterion("IsDir between", value1, value2, "isdir");
            return (Criteria) this;
        }

        public Criteria andIsdirNotBetween(String value1, String value2) {
            addCriterion("IsDir not between", value1, value2, "isdir");
            return (Criteria) this;
        }

        public Criteria andWinnameIsNull() {
            addCriterion("WinName is null");
            return (Criteria) this;
        }

        public Criteria andWinnameIsNotNull() {
            addCriterion("WinName is not null");
            return (Criteria) this;
        }

        public Criteria andWinnameEqualTo(String value) {
            addCriterion("WinName =", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameNotEqualTo(String value) {
            addCriterion("WinName <>", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameGreaterThan(String value) {
            addCriterion("WinName >", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameGreaterThanOrEqualTo(String value) {
            addCriterion("WinName >=", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameLessThan(String value) {
            addCriterion("WinName <", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameLessThanOrEqualTo(String value) {
            addCriterion("WinName <=", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameLike(String value) {
            addCriterion("WinName like", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameNotLike(String value) {
            addCriterion("WinName not like", value, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameIn(List<String> values) {
            addCriterion("WinName in", values, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameNotIn(List<String> values) {
            addCriterion("WinName not in", values, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameBetween(String value1, String value2) {
            addCriterion("WinName between", value1, value2, "winname");
            return (Criteria) this;
        }

        public Criteria andWinnameNotBetween(String value1, String value2) {
            addCriterion("WinName not between", value1, value2, "winname");
            return (Criteria) this;
        }

        public Criteria andWintypeIsNull() {
            addCriterion("WinType is null");
            return (Criteria) this;
        }

        public Criteria andWintypeIsNotNull() {
            addCriterion("WinType is not null");
            return (Criteria) this;
        }

        public Criteria andWintypeEqualTo(String value) {
            addCriterion("WinType =", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeNotEqualTo(String value) {
            addCriterion("WinType <>", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeGreaterThan(String value) {
            addCriterion("WinType >", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeGreaterThanOrEqualTo(String value) {
            addCriterion("WinType >=", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeLessThan(String value) {
            addCriterion("WinType <", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeLessThanOrEqualTo(String value) {
            addCriterion("WinType <=", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeLike(String value) {
            addCriterion("WinType like", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeNotLike(String value) {
            addCriterion("WinType not like", value, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeIn(List<String> values) {
            addCriterion("WinType in", values, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeNotIn(List<String> values) {
            addCriterion("WinType not in", values, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeBetween(String value1, String value2) {
            addCriterion("WinType between", value1, value2, "wintype");
            return (Criteria) this;
        }

        public Criteria andWintypeNotBetween(String value1, String value2) {
            addCriterion("WinType not between", value1, value2, "wintype");
            return (Criteria) this;
        }

        public Criteria andTranparmIsNull() {
            addCriterion("TranParm is null");
            return (Criteria) this;
        }

        public Criteria andTranparmIsNotNull() {
            addCriterion("TranParm is not null");
            return (Criteria) this;
        }

        public Criteria andTranparmEqualTo(String value) {
            addCriterion("TranParm =", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmNotEqualTo(String value) {
            addCriterion("TranParm <>", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmGreaterThan(String value) {
            addCriterion("TranParm >", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmGreaterThanOrEqualTo(String value) {
            addCriterion("TranParm >=", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmLessThan(String value) {
            addCriterion("TranParm <", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmLessThanOrEqualTo(String value) {
            addCriterion("TranParm <=", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmLike(String value) {
            addCriterion("TranParm like", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmNotLike(String value) {
            addCriterion("TranParm not like", value, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmIn(List<String> values) {
            addCriterion("TranParm in", values, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmNotIn(List<String> values) {
            addCriterion("TranParm not in", values, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmBetween(String value1, String value2) {
            addCriterion("TranParm between", value1, value2, "tranparm");
            return (Criteria) this;
        }

        public Criteria andTranparmNotBetween(String value1, String value2) {
            addCriterion("TranParm not between", value1, value2, "tranparm");
            return (Criteria) this;
        }

        public Criteria andMenuposIsNull() {
            addCriterion("MenuPos is null");
            return (Criteria) this;
        }

        public Criteria andMenuposIsNotNull() {
            addCriterion("MenuPos is not null");
            return (Criteria) this;
        }

        public Criteria andMenuposEqualTo(Integer value) {
            addCriterion("MenuPos =", value, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposNotEqualTo(Integer value) {
            addCriterion("MenuPos <>", value, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposGreaterThan(Integer value) {
            addCriterion("MenuPos >", value, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposGreaterThanOrEqualTo(Integer value) {
            addCriterion("MenuPos >=", value, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposLessThan(Integer value) {
            addCriterion("MenuPos <", value, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposLessThanOrEqualTo(Integer value) {
            addCriterion("MenuPos <=", value, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposIn(List<Integer> values) {
            addCriterion("MenuPos in", values, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposNotIn(List<Integer> values) {
            addCriterion("MenuPos not in", values, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposBetween(Integer value1, Integer value2) {
            addCriterion("MenuPos between", value1, value2, "menupos");
            return (Criteria) this;
        }

        public Criteria andMenuposNotBetween(Integer value1, Integer value2) {
            addCriterion("MenuPos not between", value1, value2, "menupos");
            return (Criteria) this;
        }

        public Criteria andOpentypeIsNull() {
            addCriterion("OpenType is null");
            return (Criteria) this;
        }

        public Criteria andOpentypeIsNotNull() {
            addCriterion("OpenType is not null");
            return (Criteria) this;
        }

        public Criteria andOpentypeEqualTo(String value) {
            addCriterion("OpenType =", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeNotEqualTo(String value) {
            addCriterion("OpenType <>", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeGreaterThan(String value) {
            addCriterion("OpenType >", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeGreaterThanOrEqualTo(String value) {
            addCriterion("OpenType >=", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeLessThan(String value) {
            addCriterion("OpenType <", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeLessThanOrEqualTo(String value) {
            addCriterion("OpenType <=", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeLike(String value) {
            addCriterion("OpenType like", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeNotLike(String value) {
            addCriterion("OpenType not like", value, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeIn(List<String> values) {
            addCriterion("OpenType in", values, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeNotIn(List<String> values) {
            addCriterion("OpenType not in", values, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeBetween(String value1, String value2) {
            addCriterion("OpenType between", value1, value2, "opentype");
            return (Criteria) this;
        }

        public Criteria andOpentypeNotBetween(String value1, String value2) {
            addCriterion("OpenType not between", value1, value2, "opentype");
            return (Criteria) this;
        }

        public Criteria andFatherIsNull() {
            addCriterion("Father is null");
            return (Criteria) this;
        }

        public Criteria andFatherIsNotNull() {
            addCriterion("Father is not null");
            return (Criteria) this;
        }

        public Criteria andFatherEqualTo(String value) {
            addCriterion("Father =", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotEqualTo(String value) {
            addCriterion("Father <>", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherGreaterThan(String value) {
            addCriterion("Father >", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherGreaterThanOrEqualTo(String value) {
            addCriterion("Father >=", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLessThan(String value) {
            addCriterion("Father <", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLessThanOrEqualTo(String value) {
            addCriterion("Father <=", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLike(String value) {
            addCriterion("Father like", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotLike(String value) {
            addCriterion("Father not like", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherIn(List<String> values) {
            addCriterion("Father in", values, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotIn(List<String> values) {
            addCriterion("Father not in", values, "father");
            return (Criteria) this;
        }

        public Criteria andFatherBetween(String value1, String value2) {
            addCriterion("Father between", value1, value2, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotBetween(String value1, String value2) {
            addCriterion("Father not between", value1, value2, "father");
            return (Criteria) this;
        }

        public Criteria andSeqnoIsNull() {
            addCriterion("SeqNo is null");
            return (Criteria) this;
        }

        public Criteria andSeqnoIsNotNull() {
            addCriterion("SeqNo is not null");
            return (Criteria) this;
        }

        public Criteria andSeqnoEqualTo(Integer value) {
            addCriterion("SeqNo =", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotEqualTo(Integer value) {
            addCriterion("SeqNo <>", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoGreaterThan(Integer value) {
            addCriterion("SeqNo >", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoGreaterThanOrEqualTo(Integer value) {
            addCriterion("SeqNo >=", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLessThan(Integer value) {
            addCriterion("SeqNo <", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLessThanOrEqualTo(Integer value) {
            addCriterion("SeqNo <=", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoIn(List<Integer> values) {
            addCriterion("SeqNo in", values, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotIn(List<Integer> values) {
            addCriterion("SeqNo not in", values, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoBetween(Integer value1, Integer value2) {
            addCriterion("SeqNo between", value1, value2, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotBetween(Integer value1, Integer value2) {
            addCriterion("SeqNo not between", value1, value2, "seqno");
            return (Criteria) this;
        }

        public Criteria andParmIsNull() {
            addCriterion("Parm is null");
            return (Criteria) this;
        }

        public Criteria andParmIsNotNull() {
            addCriterion("Parm is not null");
            return (Criteria) this;
        }

        public Criteria andParmEqualTo(String value) {
            addCriterion("Parm =", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmNotEqualTo(String value) {
            addCriterion("Parm <>", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmGreaterThan(String value) {
            addCriterion("Parm >", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmGreaterThanOrEqualTo(String value) {
            addCriterion("Parm >=", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmLessThan(String value) {
            addCriterion("Parm <", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmLessThanOrEqualTo(String value) {
            addCriterion("Parm <=", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmLike(String value) {
            addCriterion("Parm like", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmNotLike(String value) {
            addCriterion("Parm not like", value, "parm");
            return (Criteria) this;
        }

        public Criteria andParmIn(List<String> values) {
            addCriterion("Parm in", values, "parm");
            return (Criteria) this;
        }

        public Criteria andParmNotIn(List<String> values) {
            addCriterion("Parm not in", values, "parm");
            return (Criteria) this;
        }

        public Criteria andParmBetween(String value1, String value2) {
            addCriterion("Parm between", value1, value2, "parm");
            return (Criteria) this;
        }

        public Criteria andParmNotBetween(String value1, String value2) {
            addCriterion("Parm not between", value1, value2, "parm");
            return (Criteria) this;
        }

        public Criteria andDescribeIsNull() {
            addCriterion("Describe is null");
            return (Criteria) this;
        }

        public Criteria andDescribeIsNotNull() {
            addCriterion("Describe is not null");
            return (Criteria) this;
        }

        public Criteria andDescribeEqualTo(String value) {
            addCriterion("Describe =", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeNotEqualTo(String value) {
            addCriterion("Describe <>", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeGreaterThan(String value) {
            addCriterion("Describe >", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("Describe >=", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeLessThan(String value) {
            addCriterion("Describe <", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeLessThanOrEqualTo(String value) {
            addCriterion("Describe <=", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeLike(String value) {
            addCriterion("Describe like", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeNotLike(String value) {
            addCriterion("Describe not like", value, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeIn(List<String> values) {
            addCriterion("Describe in", values, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeNotIn(List<String> values) {
            addCriterion("Describe not in", values, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeBetween(String value1, String value2) {
            addCriterion("Describe between", value1, value2, "describe");
            return (Criteria) this;
        }

        public Criteria andDescribeNotBetween(String value1, String value2) {
            addCriterion("Describe not between", value1, value2, "describe");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andFathersIsNull() {
            addCriterion("Fathers is null");
            return (Criteria) this;
        }

        public Criteria andFathersIsNotNull() {
            addCriterion("Fathers is not null");
            return (Criteria) this;
        }

        public Criteria andFathersEqualTo(String value) {
            addCriterion("Fathers =", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotEqualTo(String value) {
            addCriterion("Fathers <>", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersGreaterThan(String value) {
            addCriterion("Fathers >", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersGreaterThanOrEqualTo(String value) {
            addCriterion("Fathers >=", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersLessThan(String value) {
            addCriterion("Fathers <", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersLessThanOrEqualTo(String value) {
            addCriterion("Fathers <=", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersLike(String value) {
            addCriterion("Fathers like", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotLike(String value) {
            addCriterion("Fathers not like", value, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersIn(List<String> values) {
            addCriterion("Fathers in", values, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotIn(List<String> values) {
            addCriterion("Fathers not in", values, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersBetween(String value1, String value2) {
            addCriterion("Fathers between", value1, value2, "fathers");
            return (Criteria) this;
        }

        public Criteria andFathersNotBetween(String value1, String value2) {
            addCriterion("Fathers not between", value1, value2, "fathers");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}